var webpack=require("webpack");
module.exports={
    entry:{
        main:"./main.js"
    },
    output:{
        publicPath:"/dist/",
        path:"dist/",
        filename:"[name].js"
    },
    module:{
            loaders:[
                {
                    test:/\.css$/,
                    loader:"style!css"
                }
            ]
   },
    devServer:{
        hot:true,
        inline:true,
        port:3000
    },
   plugins:[
       new webpack.HotModuleReplacementPlugin()
   ]
}